#include <stdio.h>


int main(void){
	double ms = 3.156e7;
	int age;
	scanf("%d",&age);
	printf("seconds is %f",age*ms);	
}
